package cc.fozone.note.help;

import java.io.File;

public class FolderHelper {
	private String[] folders;

	public String[] getFolders() {
		return folders;
	}

	public void setFolders(String... folders) {
		this.folders = folders;
	}
	
	public void createIfNotExists(){
		if(folders == null || folders.length <= 0) return ;
		for(String folder : folders){
			File file = new File(folder);
			file.mkdirs();
			file = null;
		}
	}
}
